package com.yida.system.api.domain;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description:
 * @Author: PPV
 * @Date: 2023-04-12
 */
@ApiModel("文件上传请求")
public class UploadRequest implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 8242301242234798992L;

    @NotBlank(message = "桶名称不能为空")
    @ApiModelProperty("桶名称")
    private String bucketName;

    // 文件名
    private String fileName;

    @ApiModelProperty("文件名称")
    private List<String> fileNames;

    // 是否动态链接状态
    private boolean dynamicLinkFlag;

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public List<String> getFileNames() {
        return fileNames;
    }

    public void setFileNames(List<String> fileNames) {
        this.fileNames = fileNames;
    }

    public boolean getDynamicLinkFlag() {
        return dynamicLinkFlag;
    }

    public void setDynamicLinkFlag(boolean dynamicLinkFlag) {
        this.dynamicLinkFlag = dynamicLinkFlag;
    }

}
